#!/bin/bash

exec > report_24055060323.txt 2>&1

clear


echo "Storage Report by tanye"

echo "======================"

echo



echo "1. RAID 1 Array Status:"

echo "-----------------------"

mdadm --detail /dev/md0  

echo

echo "-----------------------"

echo



echo "2. LVM Volume Group Status:"

echo "---------------------------"

vgdisplay

echo

echo "---------------------------"

echo



echo "3. LVM Logical Volume Status:"

echo "-----------------------------"

lvdisplay

echo

echo "-----------------------------"

echo



echo "4. Filesystem Mount Information:"

echo "--------------------------------"

mount

echo

echo "--------------------------------"

echo
